package com.carstop.model;

import java.util.List;
import java.sql.Timestamp;
import com.passenger.model.*;

public class CarStopDetailVO implements java.io.Serializable {

	private Integer carstopDetailId;
	private String stop_id;
	private String stop_id_org;
	private String driver_path_id;
	private Timestamp arrival;
	private List<CarStopPassengerVO> passenger;
	private Integer numOfPassenger;
	private CarStopVO carStop;
	
	public CarStopDetailVO() {
	}
	
	public CarStopDetailVO(String stopId) {
		setCarStop(CarStopService.carstopMap.get(stopId));
	}
	
	public String getStop_id() {
		return stop_id;
	}
	public void setStop_id(String stop_id) {
		this.stop_id = stop_id;
	}
	public String getStop_id_org() {
		return stop_id_org;
	}
	public void setStop_id_org(String stop_id_org) {
		this.stop_id_org = stop_id_org;
	}
	public String getDriver_path_id() {
		return driver_path_id;
	}
	public void setDriver_path_id(String driver_path_id) {
		this.driver_path_id = driver_path_id;
	}
	public Timestamp getArrival() {
		return arrival;
	}
	public void setArrival(Timestamp arrival) {
		this.arrival = arrival;
	}
	public List<CarStopPassengerVO> getPassenger() {
		return passenger;
	}
	public void setPassenger(List<CarStopPassengerVO> passenger) {
		this.passenger = passenger;
	}
	public CarStopVO getCarStop() {
		return carStop;
	}
	public void setCarStop(CarStopVO carStop) {
		this.carStop = carStop;
	}
	public void setCarStop(String carStopId) {
		this.carStop = CarStopService.carstopMap.get(carStopId);
	}
	public Integer getCarstopDetailId() {
		return carstopDetailId;
	}
	public void setCarstopDetailId(Integer carstopDetailId) {
		this.carstopDetailId = carstopDetailId;
	}

	public Integer getNumOfPassenger() {
		return numOfPassenger;
	}

	public void setNumOfPassenger(Integer numOfPassenger) {
		this.numOfPassenger = numOfPassenger;
	}
}
